\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar}{\section{context\-Free.\-grammar.\-I\-Grammar Interface Reference}
\label{interfacecontext_free_1_1grammar_1_1_i_grammar}\index{context\-Free.\-grammar.\-I\-Grammar@{context\-Free.\-grammar.\-I\-Grammar}}
}


Grammar Interface.  




Inheritance diagram for context\-Free.\-grammar.\-I\-Grammar\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=286pt]{interfacecontext_free_1_1grammar_1_1_i_grammar__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
List$<$ String $>$ \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a4b1bc2134e63051dc37e693294aaeec6}{get\-V} ()
\begin{DoxyCompactList}\small\item\em Get non-\/terminal symbols list. \end{DoxyCompactList}\item 
void \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_ae7bd17123ad7424af06a7da75a6bc745}{set\-V} (List$<$ String $>$ v)
\begin{DoxyCompactList}\small\item\em Set the list of non-\/terminal symbols. \end{DoxyCompactList}\item 
List$<$ String $>$ \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a996f5e0bed5a6ac469b764f56d420fb1}{get\-T} ()
\begin{DoxyCompactList}\small\item\em Get terminal symbols list. \end{DoxyCompactList}\item 
void \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a775125de1388036059da1860ae61a100}{set\-T} (List$<$ String $>$ e)
\begin{DoxyCompactList}\small\item\em Set the list of terminal symbols. \end{DoxyCompactList}\item 
List$<$ \hyperlink{classcontext_free_1_1grammar_1_1_production}{Production} $>$ \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a629ab4dc36a869b93fa239a3fee760f9}{get\-P} ()
\begin{DoxyCompactList}\small\item\em Get production list. \end{DoxyCompactList}\item 
void \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_ac070229e5571e47032b5199c0bf2c354}{set\-P} (List$<$ \hyperlink{classcontext_free_1_1grammar_1_1_production}{Production} $>$ p)
\begin{DoxyCompactList}\small\item\em Set the produciton list. \end{DoxyCompactList}\item 
void \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a134f8b2183ec804eff78ac57b16a0ab9}{set\-S} (String s)
\begin{DoxyCompactList}\small\item\em Set the axioms for the grammar. \end{DoxyCompactList}\item 
String \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_aceb36e584d26bd39a0f5186742cc9b5b}{get\-S} ()
\begin{DoxyCompactList}\small\item\em Get the axioms. \end{DoxyCompactList}\item 
Set$<$ String $>$\mbox{[}$\,$\mbox{]} \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a256e9280e008a7c709ccb80725ccc0f2}{get\-First} ()
\begin{DoxyCompactList}\small\item\em Get the list of first for the grammar. \end{DoxyCompactList}\item 
Set$<$ String $>$\mbox{[}$\,$\mbox{]} \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_aad085d9f84a32ca1abe5fba0c9e5f20c}{get\-Follow} ()
\begin{DoxyCompactList}\small\item\em Get the list of follow for the grammar. \end{DoxyCompactList}\item 
Set$<$ String $>$ \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a7a05f11e88cdbe29db1849541592e272}{get\-First} (String A)
\begin{DoxyCompactList}\small\item\em Get the list of follow for the grammarfor a specific symbol. \end{DoxyCompactList}\item 
String \hyperlink{interfacecontext_free_1_1grammar_1_1_i_grammar_a5fdeb5a6a9426b400c2fe805566a377c}{to\-One\-Line\-String} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Grammar Interface. 

\begin{DoxyAuthor}{Author}
Paolo Pino 
\end{DoxyAuthor}


Definition at line 10 of file I\-Grammar.\-java.



\subsection{Member Function Documentation}
\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a256e9280e008a7c709ccb80725ccc0f2}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!get\-First@{get\-First}}
\index{get\-First@{get\-First}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{get\-First}]{\setlength{\rightskip}{0pt plus 5cm}Set$<$String$>$ \mbox{[}$\,$\mbox{]} {\bf context\-Free.\-grammar.\-I\-Grammar.\-get\-First} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a256e9280e008a7c709ccb80725ccc0f2}


Get the list of first for the grammar. 

\begin{DoxyReturn}{Returns}
the first list. 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_adc3a25917132474960be34329cdaead9}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.



Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{interfacecontext_free_1_1grammar_1_1_i_grammar_a256e9280e008a7c709ccb80725ccc0f2_icgraph}
\end{center}
\end{figure}


\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a7a05f11e88cdbe29db1849541592e272}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!get\-First@{get\-First}}
\index{get\-First@{get\-First}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{get\-First}]{\setlength{\rightskip}{0pt plus 5cm}Set$<$String$>$ {\bf context\-Free.\-grammar.\-I\-Grammar.\-get\-First} (
\begin{DoxyParamCaption}
\item[{String}]{A}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a7a05f11e88cdbe29db1849541592e272}


Get the list of follow for the grammarfor a specific symbol. 

\begin{DoxyReturn}{Returns}
the follow list. 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_a2140cdc636585e9714e8dc42c936eee5}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.

\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_aad085d9f84a32ca1abe5fba0c9e5f20c}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!get\-Follow@{get\-Follow}}
\index{get\-Follow@{get\-Follow}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{get\-Follow}]{\setlength{\rightskip}{0pt plus 5cm}Set$<$String$>$ \mbox{[}$\,$\mbox{]} {\bf context\-Free.\-grammar.\-I\-Grammar.\-get\-Follow} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_aad085d9f84a32ca1abe5fba0c9e5f20c}


Get the list of follow for the grammar. 

\begin{DoxyReturn}{Returns}
the follow list. 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_a5dae0e5de95349d310869fb5941cb5be}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.

\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a629ab4dc36a869b93fa239a3fee760f9}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!get\-P@{get\-P}}
\index{get\-P@{get\-P}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{get\-P}]{\setlength{\rightskip}{0pt plus 5cm}List$<${\bf Production}$>$ {\bf context\-Free.\-grammar.\-I\-Grammar.\-get\-P} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a629ab4dc36a869b93fa239a3fee760f9}


Get production list. 

\begin{DoxyReturn}{Returns}
a list of production objects. 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_ad00a00b018844cf2acb0c1c5f5d97468}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.



Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{interfacecontext_free_1_1grammar_1_1_i_grammar_a629ab4dc36a869b93fa239a3fee760f9_icgraph}
\end{center}
\end{figure}


\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_aceb36e584d26bd39a0f5186742cc9b5b}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!get\-S@{get\-S}}
\index{get\-S@{get\-S}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{get\-S}]{\setlength{\rightskip}{0pt plus 5cm}String {\bf context\-Free.\-grammar.\-I\-Grammar.\-get\-S} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_aceb36e584d26bd39a0f5186742cc9b5b}


Get the axioms. 

\begin{DoxyReturn}{Returns}
the axioms 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_ad278c4f5e2bdec1d011d11a3008d8754}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.



Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{interfacecontext_free_1_1grammar_1_1_i_grammar_aceb36e584d26bd39a0f5186742cc9b5b_icgraph}
\end{center}
\end{figure}


\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a996f5e0bed5a6ac469b764f56d420fb1}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!get\-T@{get\-T}}
\index{get\-T@{get\-T}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{get\-T}]{\setlength{\rightskip}{0pt plus 5cm}List$<$String$>$ {\bf context\-Free.\-grammar.\-I\-Grammar.\-get\-T} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a996f5e0bed5a6ac469b764f56d420fb1}


Get terminal symbols list. 

\begin{DoxyReturn}{Returns}
a list of string with terminal symbol 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_a75f1bbf1e0d1d1350032c628779fcffd}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.



Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{interfacecontext_free_1_1grammar_1_1_i_grammar_a996f5e0bed5a6ac469b764f56d420fb1_icgraph}
\end{center}
\end{figure}


\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a4b1bc2134e63051dc37e693294aaeec6}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!get\-V@{get\-V}}
\index{get\-V@{get\-V}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{get\-V}]{\setlength{\rightskip}{0pt plus 5cm}List$<$String$>$ {\bf context\-Free.\-grammar.\-I\-Grammar.\-get\-V} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a4b1bc2134e63051dc37e693294aaeec6}


Get non-\/terminal symbols list. 

\begin{DoxyReturn}{Returns}
a list of string with non-\/terminal symbol 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_a664b69a446100c7c4e7a390fb2ee5ebc}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.



Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{interfacecontext_free_1_1grammar_1_1_i_grammar_a4b1bc2134e63051dc37e693294aaeec6_icgraph}
\end{center}
\end{figure}


\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_ac070229e5571e47032b5199c0bf2c354}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!set\-P@{set\-P}}
\index{set\-P@{set\-P}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{set\-P}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf context\-Free.\-grammar.\-I\-Grammar.\-set\-P} (
\begin{DoxyParamCaption}
\item[{List$<$ {\bf Production} $>$}]{p}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_ac070229e5571e47032b5199c0bf2c354}


Set the produciton list. 


\begin{DoxyParams}{Parameters}
{\em p} & the list of productions that must be setted. \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_a2a66695521702040224c23898b579c92}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.

\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a134f8b2183ec804eff78ac57b16a0ab9}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!set\-S@{set\-S}}
\index{set\-S@{set\-S}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{set\-S}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf context\-Free.\-grammar.\-I\-Grammar.\-set\-S} (
\begin{DoxyParamCaption}
\item[{String}]{s}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a134f8b2183ec804eff78ac57b16a0ab9}


Set the axioms for the grammar. 


\begin{DoxyParams}{Parameters}
{\em s} & the axioms. \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_a2f4c3ec7270d799ed127cb162e0213b3}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.

\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a775125de1388036059da1860ae61a100}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!set\-T@{set\-T}}
\index{set\-T@{set\-T}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{set\-T}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf context\-Free.\-grammar.\-I\-Grammar.\-set\-T} (
\begin{DoxyParamCaption}
\item[{List$<$ String $>$}]{e}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a775125de1388036059da1860ae61a100}


Set the list of terminal symbols. 


\begin{DoxyParams}{Parameters}
{\em e} & the list of terminal \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_aa1c9a277d660b2ba8443f47cb9543811}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.

\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_ae7bd17123ad7424af06a7da75a6bc745}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!set\-V@{set\-V}}
\index{set\-V@{set\-V}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{set\-V}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf context\-Free.\-grammar.\-I\-Grammar.\-set\-V} (
\begin{DoxyParamCaption}
\item[{List$<$ String $>$}]{v}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_ae7bd17123ad7424af06a7da75a6bc745}


Set the list of non-\/terminal symbols. 


\begin{DoxyParams}{Parameters}
{\em v} & the list of non-\/terminal \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_ad3d3e1efadeb4cc6ed252342fd52c76c}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.

\hypertarget{interfacecontext_free_1_1grammar_1_1_i_grammar_a5fdeb5a6a9426b400c2fe805566a377c}{\index{context\-Free\-::grammar\-::\-I\-Grammar@{context\-Free\-::grammar\-::\-I\-Grammar}!to\-One\-Line\-String@{to\-One\-Line\-String}}
\index{to\-One\-Line\-String@{to\-One\-Line\-String}!contextFree::grammar::IGrammar@{context\-Free\-::grammar\-::\-I\-Grammar}}
\subsubsection[{to\-One\-Line\-String}]{\setlength{\rightskip}{0pt plus 5cm}String {\bf context\-Free.\-grammar.\-I\-Grammar.\-to\-One\-Line\-String} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interfacecontext_free_1_1grammar_1_1_i_grammar_a5fdeb5a6a9426b400c2fe805566a377c}
\begin{DoxyReturn}{Returns}
the grammar string formatted in one line. 
\end{DoxyReturn}


Implemented in \hyperlink{classcontext_free_1_1grammar_1_1_context_free_grammar_a922203e2db862d2a8ab31e8e7736273b}{context\-Free.\-grammar.\-Context\-Free\-Grammar}.



Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{interfacecontext_free_1_1grammar_1_1_i_grammar_a5fdeb5a6a9426b400c2fe805566a377c_icgraph}
\end{center}
\end{figure}




The documentation for this interface was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
src/context\-Free/grammar/I\-Grammar.\-java\end{DoxyCompactItemize}
